package com.welink.biz.common.timer;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * 定时任务
 * Created by daniel on 15-3-16.
 */
public class QuartzJob extends QuartzJobBean {

    private static org.slf4j.Logger logger = LoggerFactory.getLogger(QuartzJob.class);

    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        logger.error("task running ..............");
    }
}
